package com.ruoyi.msg.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 题库选项视图对象 msg_dcwj_tk_xx
 *
 * @author xiaohao
 * @date 2023-02-01
 */
@Data
@ExcelIgnoreUnannotated
public class MsgDcwjTkXxVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 题库id
     */
    @ExcelProperty(value = "题库id")
    private Long tkId;

    /**
     * 是否默认
     */
    @ExcelProperty(value = "是否默认", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String init;

    /**
     * 选项内容（选项内容/单项填空提示/多项填空模板）
     */
    @ExcelProperty(value = "选项内容", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "选=项内容/单项填空提示/多项填空模板")
    private String content;

    /**
     * 选项类型
     */
    @ExcelProperty(value = "选项类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "tkxxlx")
    private String type;

    /**
     * 得分
     */
    @ExcelProperty(value = "得分")
    private Integer score;

    /**
     * 排序（字母选项）
     */
    @ExcelProperty(value = "排序", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "字=母选项")
    private String sort;


}
